package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: 蒋学伟
 * @create: 2020-06-28 14:04:02
 * @Description 事务所信息
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@TableName(value = "d_office")
public class Office implements Serializable {

    @TableId(type = IdType.AUTO, value = "intId")
    private Integer id;

    /**
     * 事务所名称
     */
    @TableField("vcName")
    private String name;

    /**
     * 有效日期开始时间
     */
    @TableField("dtStartDate")
    private Date startTime;

    /**
     * 有效日期结束时间
     */
    @TableField("dtEndDate")
    private Date endTime;
}
